<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>更新新闻信息</title>
		<meta name="keywords" content="新闻,发布,系统">
		<meta name="description" content="新闻发布系统">
		<%@ include file="../public/head.jspf"%>
		<style type="text/css">
			input[type='text'], textarea{width:90%;}
		</style>
	</head>
	<body>
		<div class="box">
			<h1>新闻信息发布系统<a class="back">返回</a></h1>
			<div class="content">
				<div id="data">
					<form action="update.news?newsid=${news.newsid}" method="post">
						<table id="datalist">
							<caption>更新新闻信息</caption>
							<tr>
								<td>标题：</td>
								<td><input type="text" name="title" value="${news.title}" /></td>
							</tr>
							<tr>
								<td>作者：</td>
								<td><input type="text" name="author" value="${news.author}" /></td>
							</tr>
							<tr>
								<td>来源：</td>
								<td><input type="text" name="source" value="${news.source}" /></td>
							</tr>
							<tr>
								<td>内容：</td>
								<td><textarea name="content">${news.content}</textarea></td>
							</tr>
							<tr>
								<td colspan="2">
									<input type="submit" class="btn green" value="修改" />
									<input type="button" class="btn blue" value="查看列表" onclick="location.href='list.news'" />
								</td>
							</tr>
						</table>
					</form>
				</div>
			</div>
		</div>
	</body>
</html>